package org.example.im.bean.protocol.request;

import lombok.*;
import org.example.im.bean.protocol.CommandType;
import org.example.im.bean.protocol.Packet;

import java.util.List;

/**
 * @author dingrui
 * @since 2022/2/12
 * @description 创建群
 */
@Data
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class CreateGroupRequestPacket extends Packet {

    // 群成员
    private List<String> userIdList;

    @Override
    public CommandType getCommandType() {
        return CommandType.CREATE_GROUP_REQUEST;
    }
}
